package com.vegetable.modules.mapper.inbound;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vegetable.modules.entity.inbound.PurchaseDeliveryReturn;
import com.vegetable.modules.entity.inbound.po.PurchaseDeliveryReturnPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 入库-采购收货退货 Mapper 接口
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-09
 */
@Mapper
public interface PurchaseDeliveryReturnMapper extends BaseMapper<PurchaseDeliveryReturn> {

    /**
     * 分页查询退货记录
     * @param page 分页对象
     * @param po 查询参数
     * @return 分页结果
     */
    IPage<PurchaseDeliveryReturn> queryPage(IPage<PurchaseDeliveryReturn> page, @Param("po") PurchaseDeliveryReturnPO po);
}